package com.service;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;

import com.dao.NewOwnerMapper;
import com.entity.NewOwner;
@Service
public class NewOwnerService {
	@Resource
	NewOwnerMapper newOwnerMapper;
	
	public int insert(NewOwner newOwner){
		return newOwnerMapper.insert(newOwner);
	}
	
	public NewOwner select(String openid){
		return newOwnerMapper.select(openid);
	}
}


